package com.fau.cm.action.index;


import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.fau.cm.action.PublicAction;
import com.fau.cm.entity.MedicalCallCustomer;
import com.opensymphony.xwork2.ModelDriven;

/**
 * @desc  中心用户管理Action
 * @author suny
 * @datetime 2014年10月28日,上午10:55:57
 */
@Controller
@Scope("prototype")
@ParentPackage("default")
@Namespace("/")
public class CenterCustomerManageAction extends PublicAction implements ModelDriven<MedicalCallCustomer> {
	
	private static final long serialVersionUID = -6763770298380995014L;
	private MedicalCallCustomer customer = new MedicalCallCustomer();

	/**
	 * @desc 跳转到中心用户管理界面
	 * @return
	 * @author suny
	 * @datetime 2014年10月28日,上午11:51:36
	 */
	@Action(value = "center_customer_manage_init",results={@Result(location = "center_customer_manage_init.jsp")})
	public String init(){
		return SUCCESS;
	}
	
	@Override
	public MedicalCallCustomer getModel() {
		return customer;
	}

}
